package jhlee42;




public class J15Ch05Printers_solution {
/*	private String maker;
	private String model;
	private String interfaces;
	private int counts;
	private int remains;*/
	
	
		public static void main(String [] args){
		J15InkjetPrinter normal = new J15InkjetPrinter();
		J15LaserPrinter ink = new J15LaserPrinter();
		
		normal.print();
		ink.print();
		
	}
}

class J15Printer{
	private String maker;
	private String model;
	private String interfaces;
	private int counts;
	private int remains;
	
	public void print(){
		System.out.println("기본 프린트로 출력 완료!");
	}
}

class J15InkjetPrinter extends J15Printer{
/*		private String maker;
	private String model;
	private String interfaces;
	private int counts;
	private int remains; */ // 상속으로 처리
	
	@ Override // 주석 : 컴파일러를 위한 주석
	public void print(){
		System.out.println("잉크젯 프린트로 출력 완료!");	
	}
	
}
class J15LaserPrinter extends J15Printer{
/*		private String maker;
	private String model;
	private String interfaces;
	private int counts;
	private int remains;*/ // 상속으로 처리
	
	@ Override
	public void print(){
		System.out.println("레이져 프린트로 출력 완료!");
	}
	
}
	





	
	/*


class Print {
	private String modelName;
	private String manufacture;
	private String interfaceUsb;
	private int printNum;
	private int printPaperRemain;

	public String getModelName() {
		return modelName;
	}

	public void setModelName(String modelName) {
		this.modelName = modelName;
	}

	public String getManufacture() {
		return manufacture;
	}

	public void setManufacture(String manufacture) {
		this.manufacture = manufacture;
	}

	public String getInterfaceUsb() {
		return interfaceUsb;
	}

	public void setInterfaceUsb(String interfaceUsb) {
		this.interfaceUsb = interfaceUsb;
	}

	public int getPrintNum() {
		return printNum;
	}

	public void setPrintNum(int printNum) {
		this.printNum = printNum;
	}

	public int getPrintPaperRemain() {
		return printPaperRemain;
	}

	public void setPrintPaperRemain(int printPaperRemain) {
		this.printPaperRemain = printPaperRemain;
	}
	

	Print() {
	
	}


}

class Inkremain extends Print {
	private int inkRemain;

	public int getInkRemain() {
		return inkRemain;
	}

	public void setInkRemain(int inkRemain) {
		this.inkRemain = inkRemain;
	}

}

class tonerRemain extends Print {
	private int tonerRemain;

	public int getTonerRemain() {
		return tonerRemain;
	}

	public void setTonerRemain(int tonerRemain) {
		this.tonerRemain = tonerRemain;
	}
	

}*/